<%-- 
    Document   : votar
    Created on : 20-ene-2015, 11:06:47
    Author     : -
--%>
<%@page import="CapaDao.Censo"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<% //Creamos la session en HTML
   HttpSession sesion = request.getSession(true);//Crear la session
   String vnif=(String)sesion.getAttribute("v_usuario");
   String vpassword=(String)sesion.getAttribute("v_clave");
   
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Censo electoral</title>
        <link rel="stylesheet" type="text/css" href="./css/estilos_1.css">
    </head>
    <body>
        <div id="contenedor">
            <header>
                <h1>CENSO ELECTORAL</h1>
            </header>
            <article>
                <section>
                    <form action="ServletVotar">
                    <table>
                        <tr>
                            <th>Partidos</th>
                            <th colspan="2">Opcion</th>
                        </tr>
                        <tr>
                            <td><img src="./img/pp.png" alt="pp" title="pp"></td>
                            <td><input type="radio" name="partido" value="PP"></td>
                        </tr>
                        <tr>
                            <td><img src="./img/psoe.png" alt="psoe" title="psoe"></td>
                            <td><input type="radio" name="partido" value="PSOE"></td>
                        </tr>
                        <tr>
                            <td><img src="./img/podemos.jpg" alt="podemos" title="podemos"></td>
                            <td><input type="radio" name="partido" value="PODEMOS"></td>
                        </tr>
                        <table id="segunda">
                             <tr>
                            <th>Partidos</th>
                            <th colspan="2">Opcion</th>
                            </tr>
                            <tr>
                            <td><img src="./img/iu.jpg" alt="iu" title="iu"></td>
                            <td><input type="radio" name="partido" value="IU"></td>
                        </tr>
                        <tr>
                            <td><img src="./img/upyd.png" alt="upyd" title="upyd"></td>
                            <td><input type="radio" name="partido" value="UPYD"></td>
                        </tr>
                        </table>
                        
                    </table>
                          <input type="hidden" name="opcion" value="votar">
                          <input type="submit" value="Votar">
                        </form>
                </section>
            </article>
        </div>
    </body>
</html>
